home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kompon / d23456 / TB97.ZIP / Demo (CBuilder 4) / Demo.bpr next >
Text File  |  1999-03-04  |  4KB  |  171 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.04.04
  15. # ---------------------------------------------------------------------------
  16. PROJECT = Demo.exe
  17. OBJFILES = Demo.obj Demo1.obj
  18. RESFILES = Demo.res
  19. DEFFILE =
  20. RESDEPEN = $(RESFILES) Demo1.dfm
  21. LIBFILES =
  22. LIBRARIES = vcl40.lib
  23. SPARELIBS = vcl40.lib
  24. PACKAGES =
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)\lib\debug
  31. RELEASELIBPATH = $(BCB)\lib\release
  32. SYSDEFINES = NO_STRICT;_RTLDLL
  33. USERDEFINES =
  34. # ---------------------------------------------------------------------------
  35. CFLAG1 = -I$(BCB)\include;$(BCB)\include\vcl -Od -Hc -H=$(BCB)\lib\vcl40.csm -w -Ve \
  36.   -Tkh30000 -r- -a8 -k -y -v -vi- -D$(SYSDEFINES);$(USERDEFINES) -c -b- -w-par \
  37.   -w-inl -Vx -tW -tWM
  38. CFLAG2 =
  39. CFLAG3 =
  40. PFLAGS = -U$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  41.   -I$(BCB)\include;$(BCB)\include\vcl -$YD -$W -$O- -v -M -JPHNE
  42. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl
  43. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd /d_RTLDLL
  44. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -Gn -v
  45. IFLAGS =
  46. # ---------------------------------------------------------------------------
  47. ALLOBJ = c0w32.obj Memmgr.Lib sysinit.obj $(OBJFILES)
  48. ALLRES = $(RESFILES)
  49. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
  50. # ---------------------------------------------------------------------------
  51. !ifdef IDEOPTIONS
  52.  
  53. [Version Info]
  54. IncludeVerInfo=0
  55. AutoIncBuild=0
  56. MajorVer=1
  57. MinorVer=0
  58. Release=0
  59. Build=0
  60. Debug=0
  61. PreRelease=0
  62. Special=0
  63. Private=0
  64. DLL=0
  65. Locale=1033
  66. CodePage=1252
  67.  
  68. [Version Info Keys]
  69. CompanyName=
  70. FileDescription=
  71. FileVersion=1.0.0.0
  72. InternalName=
  73. LegalCopyright=
  74. LegalTrademarks=
  75. OriginalFilename=
  76. ProductName=
  77. ProductVersion=1.0.0.0
  78. Comments=
  79.  
  80. [Debugging]
  81. DebugSourceDirs=$(BCB)\source\vcl
  82.  
  83. [Parameters]
  84. RunParams=
  85. HostApplication=
  86. RemoteHost=
  87. RemotePath=
  88. RemoteDebug=0
  89.  
  90. [Compiler]
  91. InMemoryExe=0
  92. ShowInfoMsgs=0
  93.  
  94. !endif
  95.  
  96. # ---------------------------------------------------------------------------
  97. # MAKE SECTION
  98. # ---------------------------------------------------------------------------
  99. # This section of the project file is not used by the BCB IDE.  It is for
  100. # the benefit of building from the command-line using the MAKE utility.
  101. # ---------------------------------------------------------------------------
  102.  
  103. .autodepend
  104. # ---------------------------------------------------------------------------
  105. !if !$d(BCC32)
  106. BCC32 = bcc32
  107. !endif
  108.  
  109. !if !$d(DCC32)
  110. DCC32 = dcc32
  111. !endif
  112.  
  113. !if !$d(TASM32)
  114. TASM32 = tasm32
  115. !endif
  116.  
  117. !if !$d(LINKER)
  118. LINKER = ilink32
  119. !endif
  120.  
  121. !if !$d(BRCC32)
  122. BRCC32 = brcc32
  123. !endif
  124. # ---------------------------------------------------------------------------
  125. !if $d(PATHCPP)
  126. .PATH.CPP = $(PATHCPP)
  127. .PATH.C   = $(PATHCPP)
  128. !endif
  129.  
  130. !if $d(PATHPAS)
  131. .PATH.PAS = $(PATHPAS)
  132. !endif
  133.  
  134. !if $d(PATHASM)
  135. .PATH.ASM = $(PATHASM)
  136. !endif
  137.  
  138. !if $d(PATHRC)
  139. .PATH.RC  = $(PATHRC)
  140. !endif
  141. # ---------------------------------------------------------------------------
  142. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  143.     $(BCB)\BIN\$(LINKER) @&&!
  144.     $(LFLAGS) +
  145.     $(ALLOBJ), +
  146.     $(PROJECT),, +
  147.     $(ALLLIB), +
  148.     $(DEFFILE), +
  149.     $(ALLRES)
  150. !
  151. # ---------------------------------------------------------------------------
  152. .pas.hpp:
  153.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  154.  
  155. .pas.obj:
  156.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  157.  
  158. .cpp.obj:
  159.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  160.  
  161. .c.obj:
  162.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  163.  
  164. .asm.obj:
  165.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  166.  
  167. .rc.res:
  168.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  169. # ---------------------------------------------------------------------------
  170.  
  171.